libxl: New API for providing OS events to libxl
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:20 +0000 (17:01 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:20 +0000 (17:01 +0000)
commitde532b9e15e2f826aa49efb410aeb00e5f1671b5
tree54805006ad9bb9575e21774226acf86ee1a4d77f
parentab94a40b96b54490140b11b5424eece23585df0c
libxl: New API for providing OS events to libxl

We provide a new set of functions and related structures
  libxl_osevent_*
which are to be used by event-driven applications to receive
information from libxl about which fds libxl is interested in, and
what timeouts libxl is waiting for, and to pass back to libxl
information about which fds are readable/writeable etc., and which
timeouts have occurred.  Ie, low-level events.

In this patch, this new machinery is still all unused.  Callers will
appear in the next patch in the series, which introduces a new API for
applications to receive high-level events about actual domains etc.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/Makefile
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_event.c [new file with mode: 0644]
tools/libxl/libxl_event.h [new file with mode: 0644]
tools/libxl/libxl_internal.h